package com.hjx.movie.core.system.service.admin;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hjx.movie.persistence.system.model.IvyCinema;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>Title:</p>
 * <p>Description:</p>
 *
 * @author hjx
 * @date 2021/2/7 - 21:49
 */
public interface ICinemaService extends IService<IvyCinema> {
    List<IvyCinema> findAllCinema();

    List<IvyCinema> findAllCinema(Wrapper<IvyCinema> wrapper);

    IvyCinema findCinemaById(Long id);

    List<IvyCinema> findCinemaByCondition(Long areaId, String cinemaNameLike, Integer cinemaStatus);
    boolean addCinema(IvyCinema cinema);
    boolean realDeleteCinema(Long cinemaId);
    boolean updateCinema(IvyCinema cinema);
    boolean logicDeleteCinema(Long cinemaId);

}
